package com.gdpu.project.vo;

import java.util.Date;
import java.util.HashSet;

import com.sun.org.apache.bcel.internal.generic.NEW;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private String teacherId;
	private String password;
	private Integer role;
	private String name;
	private String sex;
	private String nation;
	private Date birthday;
	private String idCard;
	private String college;
	private String department;
	private Date workTime;
	private String position;
	private String education;
	private String graduateCollege;
	private String profession;
	private String speciality;
	private String phone;
	private String mobile;
	private String qq;
	private String email;
	private String fax;
	private String cataloge;
	private HashSet<CgThesis> cgThesisList=new HashSet<CgThesis>();
	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** full constructor */
	public Teacher(String password, Integer role, String name, String sex,
			String nation, Date birthday, String idCard, String college,
			String department, Date workTime, String position, String education,
			String graduateCollege, String profession, String speciality,
			String phone, String mobile, String qq, String email, String fax) {
		this.password = password;
		this.role = role;
		this.name = name;
		this.sex = sex;
		this.nation = nation;
		this.birthday = birthday;
		this.idCard = idCard;
		this.college = college;
		this.department = department;
		this.workTime = workTime;
		this.position = position;
		this.education = education;
		this.graduateCollege = graduateCollege;
		this.profession = profession;
		this.speciality = speciality;
		this.phone = phone;
		this.mobile = mobile;
		this.qq = qq;
		this.email = email;
		this.fax = fax;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public String getCataloge() {
		return cataloge;
	}

	// Property accessors

	public HashSet<CgThesis> getCgThesisList() {
		return cgThesisList;
	}

	public String getCollege() {
		return this.college;
	}

	public String getDepartment() {
		return this.department;
	}

	public String getEducation() {
		return this.education;
	}

	public String getEmail() {
		return this.email;
	}

	public String getFax() {
		return this.fax;
	}

	public String getGraduateCollege() {
		return this.graduateCollege;
	}

	public String getIdCard() {
		return this.idCard;
	}

	public String getMobile() {
		return this.mobile;
	}

	public String getName() {
		return this.name;
	}

	public String getNation() {
		return this.nation;
	}

	public String getPassword() {
		return this.password;
	}

	public String getPhone() {
		return this.phone;
	}

	public String getPosition() {
		return this.position;
	}

	public String getProfession() {
		return this.profession;
	}

	public String getQq() {
		return this.qq;
	}

	public Integer getRole() {
		return this.role;
	}

	public String getSex() {
		return this.sex;
	}

	public String getSpeciality() {
		return this.speciality;
	}

	public String getTeacherId() {
		return this.teacherId;
	}

	public Date getWorkTime() {
		return this.workTime;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public void setCataloge(String cataloge) {
		this.cataloge = cataloge;
	}

	public void setCgThesisList(HashSet<CgThesis> cgThesisList) {
		this.cgThesisList = cgThesisList;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public void setGraduateCollege(String graduateCollege) {
		this.graduateCollege = graduateCollege;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public void setProfession(String profession) {
		this.profession = profession;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setSpeciality(String speciality) {
		this.speciality = speciality;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public void setWorkTime(Date workTime) {
		this.workTime = workTime;
	}

}